package com.cy.dda.model.query.collection;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.cy.dda.model.Page;
import com.cy.dda.model.enums.cases.CasesType;
import com.cy.dda.model.enums.collection.RepayStatus;
import com.cy.dda.model.enums.collection.RepayWay;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 后台-还款记录列表查询
 *
 * @author: tanyilin
 * @create: 2018年11月6日 上午9:49:17
 */
@Data
@ApiModel("后台-还款记录列表查询")
public class RepayRecordListAdminQuery extends Page {

	@ApiModelProperty(value = "委案ID", example = "0")
	private Long casesId;
	
	@ApiModelProperty(value = "客户ID", example = "0")
	private Long customerId;
	
	@ApiModelProperty(value = "客户姓名")
	private String customerName;
	
	@ApiModelProperty(value = "催收员姓名")
	private String collectionUserName;
	
	@ApiModelProperty(value = "委案类型")
	private CasesType casesType;
	
	@ApiModelProperty(value = "委托机构ID", example = "1")
	private Long orgId;
	
	@ApiModelProperty(value = "催收员用户ID", example = "1")
	private Long userId;
	
	@ApiModelProperty(value = "回款状态")
	private RepayStatus repayStatus;
	
	@ApiModelProperty(value = "回款方式")
	private RepayWay repayWay;
	
	@ApiModelProperty(value = "回款开始时间")
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	private Date repayStartTime;
	
	@ApiModelProperty(value = "回款结束时间")
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	private Date repayEndTime;
}
